import { Component } from '@angular/core';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzSpaceModule } from 'ng-zorro-antd/space';

@Component({
  selector: 'app-space-basic',
  standalone: true,
  imports: [NzButtonModule, NzIconModule, NzSpaceModule],
  template: `
    <div class="demo">
      <nz-space>
        <button nz-button nzType="primary" *nzSpaceItem>添加数据</button>
        <button nz-button *nzSpaceItem>
          <span nz-icon nzType="upload"> </span>
          上传数据
        </button>
        <button nz-button *nzSpaceItem>校验数据</button>
      </nz-space>
    </div>
  `,
  styles: ``,
})
export class SpaceBasicComponent {}
